
#ifndef _SW_TYPES_H
#  define _SW_TYPES_H

/* If its not included yet. */
#  include <config.h>
/* Include the system types.h too. */
#  include <sys/types.h>

#  ifdef _SWARM_PROC_x86_64
#    define SWARM_64
#  else
#    define SWARM_32
#  endif

#  ifdef SWARM_64
typedef unsigned long uint64;
typedef unsigned int  uint32;
typedef uint64        sw_size_t;
#  else // SWARM_32
typedef unsigned long long unint64;
typedef unsigned int  uint32;
typedef uint32        sw_size_t;
#  endif

typedef uint32 sw_id;

#endif
